package io.renren.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2021-02-18 22:25:00
 */
@Data
@TableName("batch")
public class BatchEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 批次号
	 */
	private String batchNo;
	/**
	 * 批次日期
	 */
	private Date batchTime;
	/**
	 * 产品id
	 */
	private String goodsId;
	/**
	 * 产品名称
	 */
	private String goodsName;
	/**
	 * 批次描述
	 */
	private String batchDescribe;

	@Override
	public String toString() {
		return "批次信息:" + "\r\n"
				+ "批次号=" + batchNo + "\r\n"
				+ "批次日期=" + batchTime + "\r\n"
				+ "产品名称=" + goodsName + "\r\n"
				+ "批次描述=" + batchDescribe;
	}
}
